package com.minimalist.common.entity.lindi.enums;



/**
 * @author 11987
 */
public class LindiTradeApplicationFileEnum{
    /**
     * 交易申请相关文件处理异常信息
     */
    public enum ErrorMsgEnum{
        /**
         * 交易申请处理异常信息
         */
        ADD_TRADE_APPLICATION_FILE_ERROR("交易申请相关文件处理异常"),
        UPDATE_TRADE_APPLICATION_FILE_ERROR("交易申请相关文件更新异常"),
        DELETE_TRADE_APPLICATION_FILE_ERROR("交易申请相关文件删除异常"),
        NONENTITY_TRADE_APPLICATION_FILE("交易申请相关文件不存在"),
        ;
        private final String desc;

        ErrorMsgEnum(String desc) {
            this.desc = desc;
        }

        public String getDesc() {
            return desc;
        }
    }

    public enum FileTypeEnum{
        /**
         * 交易申请相关文件类型
         */
        RELATED_ATTACHMENT(1, "相关附件"),
        CONFIRMATION_LETTER(2, "指标买卖确认函.pdf"),
        ID_CARD_BACK(2, "身份证反面"),
        BANK_CARD(3, "银行卡"),
        CONTRACT(4, "合同"),
        ;
        private final Integer code;
        private final String desc;

        FileTypeEnum(Integer code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        public Integer getCode() {
            return code;
        }

        public String getDesc() {
            return desc;
        }
    }
}
